<template>
	<div class="page">
		<Head />
		<div class="mainBody">
			<div class="user routerView">
				<div class="leftMenu">
					<leftAside></leftAside>
				</div>
				<div class="rightView">
					<div class="messageCenter">
						<div class="card">
							<div class="cardTitle">
								<div class="slotTitle" @click="goback()"><i class="el-icon-arrow-left"></i><span>Hòm thChi tiết thông báo</span></div>
							</div>
							<div class="cardBody">
								<el-form ref="form" :model="form" label-width="150px">
									<el-form-item label="Tài khoản">
										<div class="nameSpan">xiaobao</div>
									</el-form-item>
									<el-form-item label="Họ tên">
										<el-input v-model="form.name"></el-input>
										<p class="precautionsP"><i class="iconfont icon-icon_remind"></i><span > Vui lòng xác minh tài khoản ngân hàng, sai thông tin tài khoản sẽ không thể chuyển tiền. </span></p>
									</el-form-item>
									<el-form-item label="Ngân hàng">
										<el-select v-model="form.region" placeholder="请选择">
											<el-option label="ABBank" value="ABBank"></el-option>
											<el-option label="BaoVietBank" value="BaoVietBank"></el-option>
										</el-select>
									</el-form-item>
									<el-form-item label="Chi nhánh">
										<el-input v-model="form.name"></el-input>
									</el-form-item>
									<el-form-item label="Mật khẩu giao dịch">
										<el-input v-model="form.name"></el-input>
									</el-form-item>
									<el-form-item>
										<el-button class="btn-submit" type="primary" >确定</el-button>
									</el-form-item>
								</el-form>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</template>

<script>
	import Head from '@/components/Head.vue'
	import leftAside from '@/components/aside.vue'
	export default {
		components: {
			Head,
			leftAside
		},
		data() {
			return {
				form: {
					name: '',
					region: '',
					date1: '',
					date2: '',
					delivery: false,
					type: [],
					resource: '',
					desc: ''
				}
			};
		},
		methods: {
			onSubmit() {
				console.log('submit!');
			},
			goback(){
				this.$router.go(-1);//返回上一层
			},
		}
	}
</script>
